#ifndef STUDENT_H
#define STUDENT_H


#include <stdint.h>
#include <stdbool.h>
#include "person.h"

#define MAX_INTRODUCE_LENGTH 100
#define FUNCTION_SUCCESS_CODE 0
#define MAX_STUDENTS_LENGTH 255
#define STUDENT_TYPE 2

#ifdef __cplusplus
extern "C" {
#endif



typedef struct _Student{
    uint8_t klass;
    uint8_t age;
    char name[MAX_NAME_LENGTH];
} Student;

// typedef struct _Student{
//     uint8_t klass;
//     Person super;
// } Student;



void Students_Init();
PersonId Student_Create(uint8_t age, char *name, uint8_t klass);
uint8_t GetStudent(PersonId *id, Student *result);


#ifdef __cplusplus
}
#endif

#endif

